package com.sky.service;

import com.sky.entity.AddressBook;
import com.sky.result.Result;

import java.util.List;

public interface AddressService {

    void save(AddressBook addressBook);

    List<AddressBook> requestAddress(int i);

    void updateAddress(AddressBook addressBook);

    AddressBook getAddress(Long id);

    void deleteAddress(Long id);

    void setDefalutAddress(Long id);
}
